package com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.Range;
import com.cloudbroker.bcs.common.vo.HSBCSVOBase;

public class PageVO extends HSBCSVOBase {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    @IntegerString
    @Length(max = 2)
    protected String sort_field;
    @IntegerString
    @Length(max = 2)
    protected String sort_type;
    @IntegerString
    @Range(min = 1,max = 10000)
    protected String page_no;
    @IntegerString
    @Range(min = 1 ,max = 10000)
    protected String page_count;
    
    public String getSort_field() {
        return sort_field;
    }
    
    public void setSort_field(String sort_field) {
        this.sort_field = sort_field;
    }
    
    public String getSort_type() {
        return sort_type;
    }
    
    public void setSort_type(String sort_type) {
        this.sort_type = sort_type;
    }
    
    public String getPage_no() {
        return page_no;
    }
    
    public void setPage_no(String page_no) {
        this.page_no = page_no;
    }
    
    public String getPage_count() {
        return page_count;
    }
    
    public void setPage_count(String page_count) {
        this.page_count = page_count;
    }
    
    @Override
    public String toString() {
        return "PageVO [sort_field=" + sort_field + ", sort_type=" + sort_type + ", page_no=" + page_no
                + ", page_count=" + page_count + "]";
    }
    
}
